package org.lilred.nzbberry.models;

import java.util.Vector;

import org.lilred.nzbberry.controllers.HistorySlotController;

public class HistoryModel {
	private Vector slots = new Vector();
	
	public int size() { return slots.size(); }
	
	public HistorySlotController getSlot(int i) {
		return (HistorySlotController) slots.elementAt(i);
	}
	
	public void addSlot(HistorySlotController c) {
		slots.addElement(c);
	}
	
	public void deleteSlot(HistorySlotController c) {
		slots.removeElement(c);
	}
}
